Move a check to gtk_window_set_focus
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 Mar 2019 16:40:09 +0000 (11:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 17 Mar 2019 01:24:44 +0000 (21:24 -0400)
commit029ec38e63c41d13c20e763cfe3dae867f76ec13
treeecceb10b8baae709529fdca1ee3192bda9a5ead7
parent2bf1561b48ee02f340515e6a3e08bc08d89b5f18
Move a check to gtk_window_set_focus

gtk_widget_grab_focus is just a wrapper for
gtk_window_set_focus. We should do all the enforcement
there.
gtk/gtkwidget.c
gtk/gtkwindow.c